package com.mzj.saas.mservice.property.entity;

import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 房产余额关联表
 */
@Entity
@Table(name = "saas_department_remaining_ref")
public class DepartmentRemainingRef extends IdEntity {


    /**
     * 组织机构id
     */
    @Basic
    @Column(name = "dep_id", nullable = true)
    private Long depId;
    /**
     * 机构名
     */
    @Basic
    @Column(name = "dep_name", nullable = true)
    private String depName;
    /**
     * 收款机构id
     */
    @Basic
    @Column(name = "org_id", nullable = true)
    private Long orgId;
    /**
     * 房产id
     */
    @Column(name = "house_id", nullable = true)
    private String houseId;
    /**
     * 余额id
     */
    @Column(name = "remaining_id", nullable = true)
    private Long remainingId;
    /**
     * 创建时间
     */
    @Column(name = "create_time", nullable = true)
    private Date createTime;
    /**
     * 租金押金代扣开启状态 : 0是 1否
     */
    @Column(name = "rent_withhold_status", nullable = true)
    private Integer rentWithholdStatus;
    /**
     * 其他费用代扣开启状态: 0是 1否
     */
    @Column(name = "else_withhold_status", nullable = true)
    private Integer elseWithholdStatus;

    public Long getDepId() {
        return depId;
    }

    public void setDepId(Long depId) {
        this.depId = depId;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public Long getRemainingId() {
        return remainingId;
    }

    public void setRemainingId(Long remainingId) {
        this.remainingId = remainingId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getRentWithholdStatus() {
        return rentWithholdStatus;
    }

    public void setRentWithholdStatus(Integer rentWithholdStatus) {
        this.rentWithholdStatus = rentWithholdStatus;
    }

    public Integer getElseWithholdStatus() {
        return elseWithholdStatus;
    }

    public void setElseWithholdStatus(Integer elseWithholdStatus) {
        this.elseWithholdStatus = elseWithholdStatus;
    }
}
